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by4wWpeAN44Q",
    "eyJhbGciOiJIUzUxMiJ9.eyJ1aWQiOjE0ODQ0OTUyOCwiZXhwIjoxNzE3ODA5MTMxfQ.eC2ex25LhqgCGixGvMfwUQcuTRX4xKu6aklzyxehtQyXj7XdMFzLldKjn8QO5EpHjckrOUcr0a1wjyS7A7hKMQ",
    "eyJhbGciOiJIUzUxMiJ9.eyJ1aWQiOjE4NDc2NjQwMiwiZXhwIjoxNzE3ODE0MjU2fQ.g6lqcaWA9qeM4s4dLcD6YDssqT0zLzdeTixKA-Vi1VrB4vKaFIrdz1EKKhJwPSksWazND--a2GR2rNx_aWpPbw",
    "eyJhbGciOiJIUzUxMiJ9.eyJ1aWQiOjc2NTYzNzYsImV4cCI6MTcxNzgxNTIxOX0.JSkCKMgC2_Lw2V8mCU9C4WP98G6AMoyKRVW96ykBzhw8MsbtgWXt4J2SaqfGHTG6dxZE7a9m0L6PQBvT7YCt_Q",
    "eyJhbGciOiJIUzUxMiJ9.eyJ1aWQiOjE4MzAxODU4OSwiZXhwIjoxNzE3NjYwOTQ5fQ.w4w-yDGtKFE3tgnFDRqhHHfepfj0w_ZmyOi8jvKJl2I3jwxmGf2MG4vYBaWXvnjTnr0auADCW_eHphUVM_92PA"
]
activityId = 2405280248609345
for Authorization in Authorizations:
    headers = {
                "Host": "apipro.qunjielong.com",
                "Connection": "keep-alive",
                "device-type": "10",
                "mini-route": "pro/pages/generate-order/generate-order",
                "Authorization": Authorization,
                "uid": "182893922",
                "companyId": "190",
                "scene-flow": "pro/pages/generate-order/generate-order,e74e9033d58c99ee377069c998039a2b",
                "client-version": "5.5.83",
                "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x63090a13) XWEB/9115",
                "Content-Type": "application/json",
                "xweb_xhr": "1",
                "appid": "wx059cd327295ab444",
                "sceneCode": "1007",
                "version": "3.0.0",
                "Accept": "*/*",
                "Sec-Fetch-Site": "cross-site",
                "Sec-Fetch-Mode": "cors",
                "Sec-Fetch-Dest": "empty",
                "Referer": "https://servicewechat.com/wx059cd327295ab444/1784/page-frame.html",
                "Accept-Encoding": "gzip, deflate, br",
                "Accept-Language": "zh-CN,zh;q=0.9"
            }


    participator_fill_content = "https://apipro.qunjielong.com/activity-accessory/activity_input/participator_fill_content?actId={}".format(
                activityId)
    proxies = {"http": None, "https": None}
    s_time = time.time()
    res = requests.get(participator_fill_content, headers=headers, proxies=proxies)
    print(Authorization + " 时间：", time.time() - s_time, res.text)
    # print(Authorization, res.text)
    # s_time = time.time()
    time.sleep(0.5)
    # print(Authorization + " 时间：", time.time() - s_time)
    # js = res.json()
    # print(json.dumps(js, indent=4, ensure_ascii=False, sort_keys=True))


